Defibrillator threshold testing